package routers

import (
	"XYZShell/mgotool/controllers"
	"github.com/astaxie/beego"
)

func init() {
	beego.Router("/", &controllers.MainController{})
	beego.Router("/json/:dbname/:c", &controllers.JsonApiController{})
	beego.Router("/:dbname", &controllers.DatabaseController{})
	beego.Router("/:dbname/:c", &controllers.CollectionController{})
}
